[INFO] fetching crate ckb-network 0.111.0-rc5...
[INFO] checking ckb-network-0.111.0-rc5 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate ckb-network 0.111.0-rc5 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate ckb-network 0.111.0-rc5 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ckb-network 0.111.0-rc5
[INFO] finished tweaking crates.io crate ckb-network 0.111.0-rc5
[INFO] tweaked toml for crates.io crate ckb-network 0.111.0-rc5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 322cb742b593af3c46dcd7c525694bf77a9a3aa0247f143368e2be9287ec1546
[INFO] running `Command { std: "docker" "start" "-a" "322cb742b593af3c46dcd7c525694bf77a9a3aa0247f143368e2be9287ec1546", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "322cb742b593af3c46dcd7c525694bf77a9a3aa0247f143368e2be9287ec1546", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "322cb742b593af3c46dcd7c525694bf77a9a3aa0247f143368e2be9287ec1546", kill_on_drop: false }`
[INFO] [stdout] 322cb742b593af3c46dcd7c525694bf77a9a3aa0247f143368e2be9287ec1546
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 05b4c97a47c9c841791b6bb7a728fbb014a26e2f04a686d7c0d390e58af606aa
[INFO] running `Command { std: "docker" "start" "-a" "05b4c97a47c9c841791b6bb7a728fbb014a26e2f04a686d7c0d390e58af606aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling faster-hex v0.6.1
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling heapsize v0.4.2
[INFO] [stderr]    Compiling blake2b-rs v0.2.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling flate2 v1.0.26
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking parking_lot_core v0.9.8
[INFO] [stderr]     Checking ckb-hash v0.111.0-rc5
[INFO] [stderr]     Checking golomb-coded-set v0.2.0
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]     Checking ckb-channel v0.111.0-rc5
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]    Compiling includedir_codegen v0.6.0
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]     Checking ckb-merkle-mountain-range v0.5.2
[INFO] [stderr]     Checking merkle-cbt v0.3.2
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking ckb-constant v0.111.0-rc5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling ckb-system-scripts v0.5.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking futures-channel v0.3.28
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]     Checking ckb-fixed-hash-core v0.111.0-rc5
[INFO] [stderr]     Checking ckb-occupied-capacity-core v0.111.0-rc5
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking molecule v0.7.5
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking futures-util v0.3.28
[INFO] [stderr]    Compiling includedir v0.6.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking anstyle-parse v0.2.1
[INFO] [stderr]     Checking url v2.4.0
[INFO] [stderr]     Checking openssl-sys v0.9.90
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]     Checking anstyle v1.0.1
[INFO] [stderr]     Checking unsigned-varint v0.7.1
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]    Compiling tentacle-secio v0.5.7
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking secp256k1 v0.24.3
[INFO] [stderr]     Checking anstream v0.3.2
[INFO] [stderr]     Checking sha2 v0.10.7
[INFO] [stderr]     Checking serde_json v1.0.99
[INFO] [stderr]     Checking futures-executor v0.3.28
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]     Checking openssl v0.10.55
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking clap_lex v0.5.0
[INFO] [stderr]     Checking xml-rs v0.8.14
[INFO] [stderr]    Compiling prometheus v0.13.3
[INFO] [stderr]     Checking eaglesong v0.1.0
[INFO] [stderr]     Checking wildmatch v1.1.0
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking clap_builder v4.3.8
[INFO] [stderr]     Checking ckb-util v0.111.0-rc5
[INFO] [stderr]     Checking tentacle-multiaddr v0.3.3
[INFO] [stderr]     Checking xmltree v0.10.3
[INFO] [stderr]     Checking attohttpc v0.16.3
[INFO] [stderr]    Compiling numext-constructor v0.1.6
[INFO] [stderr]    Compiling ckb-occupied-capacity-macros v0.111.0-rc5
[INFO] [stderr]    Compiling ckb-fixed-hash-macros v0.111.0-rc5
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking ckb-occupied-capacity v0.111.0-rc5
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking ckb-logger v0.111.0-rc5
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling snap v1.1.0
[INFO] [stderr]     Checking ckb-fixed-hash v0.111.0-rc5
[INFO] [stderr]     Checking ckb-crypto v0.111.0-rc5
[INFO] [stderr]    Compiling prometheus-static-metric v0.5.1
[INFO] [stderr]     Checking tokio-yamux v0.3.8
[INFO] [stderr]     Checking igd v0.12.1
[INFO] [stderr]     Checking ckb-logger-config v0.111.0-rc5
[INFO] [stderr]     Checking serde_plain v0.3.0
[INFO] [stderr]     Checking ubyte v0.10.3
[INFO] [stderr]     Checking ckb-metrics-config v0.111.0-rc5
[INFO] [stderr]     Checking path-clean v0.1.0
[INFO] [stderr]     Checking ckb-systemtime v0.111.0-rc5
[INFO] [stderr]     Checking ckb-build-info v0.111.0-rc5
[INFO] [stderr]     Checking clap v4.3.8
[INFO] [stderr]     Checking ckb-stop-handler v0.111.0-rc5
[INFO] [stderr]     Checking bloom-filters v0.1.2
[INFO] [stderr]     Checking ipnetwork v0.18.0
[INFO] [stderr]     Checking ckb-spawn v0.111.0-rc5
[INFO] [stderr]     Checking ckb-error v0.111.0-rc5
[INFO] [stderr]     Checking tentacle v0.4.2
[INFO] [stderr]     Checking ckb-metrics v0.111.0-rc5
[INFO] [stderr]    Compiling numext-fixed-uint-core v0.1.6
[INFO] [stderr]    Compiling numext-fixed-uint-hack v0.1.6
[INFO] [stderr]     Checking numext-fixed-uint v0.1.6
[INFO] [stderr]    Compiling ckb-rational v0.111.0-rc5
[INFO] [stderr]    Compiling ckb-types v0.111.0-rc5
[INFO] [stderr]     Checking ckb-pow v0.111.0-rc5
[INFO] [stderr]     Checking ckb-jsonrpc-types v0.111.0-rc5
[INFO] [stderr]     Checking ckb-traits v0.111.0-rc5
[INFO] [stderr]     Checking ckb-dao-utils v0.111.0-rc5
[INFO] [stderr]    Compiling ckb-resource v0.111.0-rc5
[INFO] [stderr]     Checking ckb-chain-spec v0.111.0-rc5
[INFO] [stderr]     Checking ckb-app-config v0.111.0-rc5
[INFO] [stderr]     Checking ckb-network v0.111.0-rc5 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proptest`
[INFO] [stdout]  --> src/tests/addr_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use proptest::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `proptest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tempfile`
[INFO] [stdout]   --> src/protocols/tests/mod.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use tempfile::tempdir;
[INFO] [stdout]    |     ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `proptest` in this scope
[INFO] [stdout]   --> src/tests/addr_manager.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | proptest! {
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `once_cell`
[INFO] [stdout]    --> src/protocols/tests/mod.rs:235:16
[INFO] [stdout]     |
[INFO] [stdout] 235 |     static RT: once_cell::sync::OnceCell<tokio::runtime::Runtime> =
[INFO] [stdout]     |                ^^^^^^^^^ use of undeclared crate or module `once_cell`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `once_cell`
[INFO] [stdout]    --> src/protocols/tests/mod.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |         once_cell::sync::OnceCell::new();
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared crate or module `once_cell`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   + use core::cell::OnceCell;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use crate::tokio::sync::OnceCell;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::cell::OnceCell;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use tokio::sync::OnceCell;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `OnceCell`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 236 -         once_cell::sync::OnceCell::new();
[INFO] [stdout] 236 +         OnceCell::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `faketime` in crate `ckb_systemtime`
[INFO] [stdout]   --> src/tests/peer_store.rs:88:43
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let _faketime_guard = ckb_systemtime::faketime();
[INFO] [stdout]    |                                           ^^^^^^^^ not found in `ckb_systemtime`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ckb-systemtime-0.111.0-rc5/src/lib.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn faketime() -> FaketimeGuard {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    = note: the item is gated behind the `enable_faketime` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `faketime` in crate `ckb_systemtime`
[INFO] [stdout]    --> src/tests/peer_store.rs:128:43
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let _faketime_guard = ckb_systemtime::faketime();
[INFO] [stdout]     |                                           ^^^^^^^^ not found in `ckb_systemtime`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ckb-systemtime-0.111.0-rc5/src/lib.rs:33:8
[INFO] [stdout]     |
[INFO] [stdout] 33  | pub fn faketime() -> FaketimeGuard {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `enable_faketime` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `faketime` in crate `ckb_systemtime`
[INFO] [stdout]    --> src/tests/peer_store.rs:162:43
[INFO] [stdout]     |
[INFO] [stdout] 162 |     let _faketime_guard = ckb_systemtime::faketime();
[INFO] [stdout]     |                                           ^^^^^^^^ not found in `ckb_systemtime`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ckb-systemtime-0.111.0-rc5/src/lib.rs:33:8
[INFO] [stdout]     |
[INFO] [stdout] 33  | pub fn faketime() -> FaketimeGuard {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `enable_faketime` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `faketime` in crate `ckb_systemtime`
[INFO] [stdout]    --> src/tests/peer_store.rs:195:43
[INFO] [stdout]     |
[INFO] [stdout] 195 |     let _faketime_guard = ckb_systemtime::faketime();
[INFO] [stdout]     |                                           ^^^^^^^^ not found in `ckb_systemtime`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ckb-systemtime-0.111.0-rc5/src/lib.rs:33:8
[INFO] [stdout]     |
[INFO] [stdout] 33  | pub fn faketime() -> FaketimeGuard {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `enable_faketime` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `faketime` in crate `ckb_systemtime`
[INFO] [stdout]    --> src/tests/peer_store.rs:223:43
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let _faketime_guard = ckb_systemtime::faketime();
[INFO] [stdout]     |                                           ^^^^^^^^ not found in `ckb_systemtime`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ckb-systemtime-0.111.0-rc5/src/lib.rs:33:8
[INFO] [stdout]     |
[INFO] [stdout] 33  | pub fn faketime() -> FaketimeGuard {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `enable_faketime` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PeerId`, `addr_manager::AddrManager`, `multiaddr::Multiaddr`, `types::AddrInfo`
[INFO] [stdout]  --> src/tests/addr_manager.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     multiaddr::Multiaddr,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 3 |     peer_store::{addr_manager::AddrManager, types::AddrInfo},
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     PeerId,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::Ipv4Addr`
[INFO] [stdout]  --> src/tests/addr_manager.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::net::Ipv4Addr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `num_cpus`
[INFO] [stdout]    --> src/protocols/tests/mod.rs:239:43
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let num_threads = ::std::cmp::max(num_cpus::get(), 4);
[INFO] [stdout]     |                                           ^^^^^^^^ use of undeclared crate or module `num_cpus`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]   --> src/tests/peer_store_db.rs:66:15
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let dir = tempfile::tempdir().unwrap();
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]    --> src/tests/peer_store_db.rs:104:19
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let dir = tempfile::tempdir().unwrap();
[INFO] [stdout]     |                   ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]    --> src/tests/peer_store_db.rs:113:19
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let dir = tempfile::tempdir().unwrap();
[INFO] [stdout]     |                   ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]    --> src/tests/peer_store_db.rs:123:19
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let dir = tempfile::tempdir().unwrap();
[INFO] [stdout]     |                   ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]    --> src/tests/peer_store_db.rs:131:19
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let dir = tempfile::tempdir().unwrap();
[INFO] [stdout]     |                   ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]    --> src/tests/peer_store_db.rs:142:15
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let dir = tempfile::tempdir().unwrap();
[INFO] [stdout]     |               ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile`
[INFO] [stdout]   --> src/protocols/tests/mod.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 |     _tmp_dir: tempfile::TempDir,
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared crate or module `tempfile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ckb-network` (lib test) due to 19 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/peer_store/peer_store_impl.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 let mut peer = entry.get_mut();
[INFO] [stdout]    |                     ----^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "05b4c97a47c9c841791b6bb7a728fbb014a26e2f04a686d7c0d390e58af606aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05b4c97a47c9c841791b6bb7a728fbb014a26e2f04a686d7c0d390e58af606aa", kill_on_drop: false }`
[INFO] [stdout] 05b4c97a47c9c841791b6bb7a728fbb014a26e2f04a686d7c0d390e58af606aa
